home *** CD-ROM | disk | FTP | other *** search
/ Laboratorio Interattivo Deagostini / laboratorio interattivo deagostini.bin / swf / 183.swf / scripts / frame_1 / PlaceObject2_42_200 / CLIPACTIONRECORD onClipEvent(load).as < prev   
Text File  |  2003-01-06  |  1KB  |  34 lines

  1. onClipEvent(load){
  2.    destinazioni1 = new Array("dest1","dest2","dest3","dest4","dest5","dest6","dest7");
  3.    lista = new Array(7);
  4.    lista[0] = new Array("mob1","dest4",5,destinazioni1,"1");
  5.    lista[1] = new Array("mob2","dest5",5,destinazioni1,"2");
  6.    lista[2] = new Array("mob3","dest7",5,destinazioni1,"3");
  7.    lista[3] = new Array("mob4","dest3",5,destinazioni1,"4");
  8.    lista[4] = new Array("mob5","dest1",5,destinazioni1,"5");
  9.    lista[5] = new Array("mob6","dest6",5,destinazioni1,"6");
  10.    lista[6] = new Array("mob7","dest2",5,destinazioni1,"7");
  11.    TotPunteggio = 35;
  12.    SoloGiusta = 0;
  13.    TuttoScroll = 0;
  14.    var i = 0;
  15.    i = 0;
  16.    while(i < lista.length)
  17.    {
  18.       if(TuttoScroll == 1)
  19.       {
  20.          daintercett = "_parent.mask.esercizio." + lista[i][0];
  21.          percorsoMobile = "_parent.mask.esercizio";
  22.       }
  23.       else
  24.       {
  25.          daintercett = "_parent.mask." + lista[i][0];
  26.          percorsoMobile = "_parent.mask";
  27.       }
  28.       eval(daintercett).spazio.testo = lista[i][4];
  29.       i++;
  30.    }
  31.    _root.TempoScaduto = 0;
  32.    _root.AvviaVerifica = 0;
  33. }
  34.